package com.ug.managent.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ug.common.annotation.Excel;
import com.ug.common.core.domain.BaseEntity;

/**
 * 井盖档案对象 manhole_cover
 * 
 * @author Leo
 * @date 2025-04-22
 */
public class Cover extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 所属城市 */
    @Excel(name = "所属城市")
    private String cityId;

    /** 图片地址 */
    @Excel(name = "图片地址")
    private String image;

    /** 纬度坐标 */
    @Excel(name = "纬度坐标")
    private BigDecimal latitude;

    /** 经度坐标 */
    @Excel(name = "经度坐标")
    private BigDecimal longitude;

    /** 状态 */
    @Excel(name = "状态")
    private Integer coverStatus;

    /** 删除日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "删除日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date deleteTime;

    /** 删除人ID */
    @Excel(name = "删除人ID")
    private Long deleteBy;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setCityId(String cityId) 
    {
        this.cityId = cityId;
    }

    public String getCityId() 
    {
        return cityId;
    }

    public void setImage(String image) 
    {
        this.image = image;
    }

    public String getImage() 
    {
        return image;
    }

    public void setLatitude(BigDecimal latitude) 
    {
        this.latitude = latitude;
    }

    public BigDecimal getLatitude()
    {
        return latitude;
    }

    public void setLongitude(BigDecimal longitude) 
    {
        this.longitude = longitude;
    }

    public BigDecimal getLongitude()
    {
        return longitude;
    }

    public void setCoverStatus(Integer coverStatus) 
    {
        this.coverStatus = coverStatus;
    }

    public Integer getCoverStatus() 
    {
        return coverStatus;
    }

    public void setDeleteTime(Date deleteTime) 
    {
        this.deleteTime = deleteTime;
    }

    public Date getDeleteTime() 
    {
        return deleteTime;
    }

    public void setDeleteBy(Long deleteBy) 
    {
        this.deleteBy = deleteBy;
    }

    public Long getDeleteBy() 
    {
        return deleteBy;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("cityId", getCityId())
            .append("image", getImage())
            .append("latitude", getLatitude())
            .append("longitude", getLongitude())
            .append("coverStatus", getCoverStatus())
            .append("createTime", getCreateTime())
            .append("createBy", getCreateBy())
            .append("updateTime", getUpdateTime())
            .append("updateBy", getUpdateBy())
            .append("deleteTime", getDeleteTime())
            .append("deleteBy", getDeleteBy())
            .toString();
    }
}
